'use strict'

class endsquare {

  constructor () {
    this.param = ''
  }

  async get(c) {
    let sqltext = `SELECT * FROM square`;
    let r = await c.service.psql.query(sqltext);
    c.send(JSON.stringify(r.rows));
  }
}

module.exports = endsquare;
